-
Home
-
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN
-
1.17.7
-
Code
-
Classes
- WooCommerce
Total Complexity |
37 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
226 |
Lines of code |
135 |
Logical lines of code |
79 |
Comment lines |
63 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
purge_site_cache_on_sale_start_and_end() |
A |
52 |
9 |
24 |
update_cached_sale_products() |
A |
54 |
9 |
21 |
get_products_with_sale() |
S |
49 |
3 |
33 |
cache_sale_products() |
S |
59 |
4 |
14 |
get_sale_dates() |
S |
60 |
3 |
14 |
init() |
S |
60 |
3 |
12 |
uppercase_product_cat_links() |
S |
70 |
3 |
6 |
isActive() |
S |
71 |
2 |
6 |
add_cache_expiration() |
S |
74 |
1 |
5 |